<script setup>
import setting from '../utils/setting'

function openExternal(url) {
  window.api.openExternal(url)
  console.log(url, 'url')
}
</script>

<template>
  <div class="help-center">
    <div class="help-center-container">帮助中心</div>
    <div class="help-center-feedback no-drag">
      <a @click="openExternal(setting.help)">问题反馈</a>
    </div>
  </div>
</template>

<style scoped lang="scss">
.help-center {
  display: flex;
  flex-direction: column;

  .help-center-container {
    font-size: 1.2em;
    color: #000;
    font-weight: 700;
  }

  div {
    margin: 0 auto;
  }
  .help-center-feedback {
    color: #409eff;
    cursor: pointer;
    font-size: 0.9em;
  }
}
</style>
